<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Caziac: AModule.hh Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>AModule.hh</h1><a href="_a_module_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef                 CAZIAC_AMODULE_HH</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor"># define                CAZIAC_AMODULE_HH</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00012"></a>00012 <span class="preprocessor">#include                &lt;list&gt;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include                &lt;string&gt;</span>
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <span class="preprocessor">#include                &quot;<a class="code" href="_i_process_8hh.html">IProcess.hh</a>&quot;</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="keyword">namespace               </span>Caziac
<a name="l00018"></a>00018 {
<a name="l00019"></a>00019   <span class="keyword">namespace             </span>Module
<a name="l00020"></a>00020   {
<a name="l00026"></a>00026     <span class="keyword">class               </span>AModule
<a name="l00027"></a>00027     {
<a name="l00028"></a>00028 
<a name="l00029"></a>00029       std::string                       _name;
<a name="l00030"></a>00030 
<a name="l00031"></a>00031     <span class="keyword">protected</span>:
<a name="l00032"></a>00032 
<a name="l00033"></a>00033       std::list&lt;IProcess *&gt;             processes_;
<a name="l00034"></a>00034 
<a name="l00035"></a>00035     <span class="keyword">public</span>:
<a name="l00036"></a>00036 
<a name="l00037"></a>00037       AModule(std::string <span class="keyword">const</span> &amp;name);
<a name="l00038"></a>00038       <span class="keyword">virtual</span>                           ~AModule(){}
<a name="l00039"></a>00039 
<a name="l00040"></a>00040       <span class="keyword">virtual</span> <span class="keywordtype">bool</span>                      isOpen() <span class="keyword">const</span>;
<a name="l00041"></a>00041 
<a name="l00042"></a>00042       std::list&lt;IProcess *&gt;&amp;            getProcesses();
<a name="l00043"></a>00043       std::string                       getName() <span class="keyword">const</span>;
<a name="l00044"></a>00044 
<a name="l00045"></a>00045     };
<a name="l00046"></a>00046   }
<a name="l00047"></a>00047 }
<a name="l00048"></a>00048 
<a name="l00054"></a>00054 <span class="preprocessor">#ifdef  _WIN32</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor"> #define        EXPORT          extern &quot;C&quot; __declspec(dllexport)</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00057"></a><a class="code" href="_a_module_8hh.html#a3472d8cdbb788d5f1815b3522595bc49">00057</a> <span class="preprocessor"></span><span class="preprocessor"> #define        EXPORT          extern &quot;C&quot;</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span>
<a name="l00065"></a>00065 <a class="code" href="_a_module_8hh.html#a3472d8cdbb788d5f1815b3522595bc49">EXPORT</a>  <a class="code" href="class_caziac_1_1_module_1_1_a_module.html" title="Abstract class for a module.">Caziac::Module::AModule</a> *       <a class="code" href="_a_module_8hh.html#a831834b5b741107bbe2fb8b60dad1897" title="[User Implementation] Entry Point for a module">getModule</a>();
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 <span class="preprocessor">#endif</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated on 12 Sep 2011 for Caziac by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address>
</body>
</html>
